package com.wanczy.service.impl;

import java.util.List;

import com.wanczy.dao.factory.MenuTableDAOFactory;
import com.wanczy.pojo.MenuTable;
import com.wanczy.service.MenuTableService;

public class MenuTableServiceImpl implements MenuTableService {

	@Override
	public List<MenuTable> findMenu() {
		return MenuTableDAOFactory.getMenuTableDAOInstance().findMenu();
	}

	@Override
	public List<MenuTable> findDownMenu(String menuLevel,int userId) {
		return MenuTableDAOFactory.getMenuTableDAOInstance().findDownMenu(menuLevel,userId);
	}

}
